<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>Test 页面</title>
	
  </head>
  
  <body>
   	<form action="<%=basePath%>test/addComment" method="post">
   		书的Id：<input type = "text" name = "bookId">
   		用户的Id：<input type = "text" name = "userId">
   		评论：<input type = "text" name = "content">
   		<input type = "submit" value = "提交">
   	</form>
  </body>
  
</html>
